package com.example.ymm.modules1.service.impl.sys;

import com.example.ymm.base.BaseServiceImpl;
import com.example.ymm.modules1.entity.my.sys.SysSetting;
import com.example.ymm.modules1.mapper.my.sys.SysSettingMapper;
import com.example.ymm.modules1.service.sys.SysSettingService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
@Slf4j
public class SysSettingServiceImpl extends BaseServiceImpl<SysSettingMapper, SysSetting> implements SysSettingService {

    @Override
    public SysSetting getSetting() {
        return getById(1);
    }
}
